#include "Result.h"
#include "../../ID/Scene.h"
#include "../../ID/TextureID.h"
#include "../../Utility/Draw/Renderer.h"
#include "../../Utility/IO/DeviceInput/SceneInput.h"

namespace ResultScene
{
	Result::Result(){}

	Result::~Result(){}

	void Result::initialize()
	{
		_resources.loadResource();
	}

	void Result::update( float frameTimer )
	{
		frameTimer;
	}

	void Result::draw()
	{
		Renderer::getInstance()->draw2D(TextureID::T_RESULT);
	}

	void Result::finish()
	{
		_resources.releaseResource();
	}

	bool Result::isEnd() const
	{
		return SceneInput::getInstance()->isNextSceneButoonDown();
	}

	Scene Result::next() const
	{
		return Scene::S_MENU;
	}

};